import {request} from '../../utils/request'

export function getAllArticle(data){
    return request('post',`/articles/all/`,data)
}

export function getArticleDetail(data){
    return request('get',`/articles/detail/${data.id}`,data)
}

export function getHotArticle(data){
    return request('get',`/articles/hot`,data)
}